<?php
return array(
		/********************************* 系统配置 ***********************************/
		//数据库配置
		'db' => array(
				'default' => array(
					'dsn' => 'mysql:host=localhost;dbname=test;charset=utf8',
					'user' => 'root',
					'password' => '123456',
				),
				'dev' => array(
					'dsn' => 'mysql:host=10.202.41.187;dbname=fyp;charset=utf8',
					'user' => 'root',
					'password' => 'fmw.com',
				),
		),
		//url后缀（伪静态）
		'url_suffix' => '.html',
		//路由规则配置
		'url_rules' => array(
			/* array(
				'pattern' => '/^category\/(\d+)(\-(\d+))?$/i',
				'class' => 'controller\\Category',
				'method' => 'actionIndex',
				'params' => array(null, 'categoryId', null, 'locationId'),
			), */
		),
		//日志保存目录
		'log_save_path' => APP_PATH . 'runtime' . DIRECTORY_SEPARATOR . 'log',
		
		/********************************* 自定义配置 ***********************************/
	
		//default timezone
		'default_timezone' => 'PRC',
);